{% extends "admin/base_site.html" %}
{% load static %}

{% block extrastyle %}
  <link rel="stylesheet" type="text/css" href="{% static 'admin/css/forms.css' %}" media="all" />
  <script type="text/javascript" src="/admin/jsi18n/"></script>
  <script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
  <script type="text/javascript" src="{% static 'admin/js/jquery.init.js' %}"></script>
  <script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script>
  <script type="text/javascript" src="{% static 'admin/js/prepopulate.js' %}"></script>
  <script type="text/javascript" src="{% static 'admin/js/calendar.js' %}"></script>
  <script type="text/javascript" src="{% static 'admin/js/admin/DateTimeShortcuts.js' %}"></script>
{% endblock %}

{% block content %}
<!-- Content -->
<div id="content" class="colM">
    <h1>百度推广码导入</h1>
    <div id="content-main">
        <form enctype="multipart/form-data" action="/quanquaner/baidu/upload/" method="post" id="lastdaynum_form" novalidate>
            {% csrf_token %}
        <div>
            <fieldset class="module aligned ">
                <div class="form-row field-data_num">
                    <div>
                        <label class="required" for="id_data_num">数据:</label>
                        <input type="file" name="baiduexcel" class="vTextField" required id="baiduexcel" />
                    </div>
                </div>
            </fieldset>
        </div>
        <div class="submit-row">
            <input type="submit" value="导 入" class="default" name="_save" />
        </div>
        <script type="text/javascript" id="django-admin-form-add-constants" src="/static/admin/js/change_form.js" data-model-name="lastdaynum"></script>
        <script type="text/javascript" id="django-admin-prepopulated-fields-constants" src="/static/admin/js/prepopulate_init.js" data-prepopulated-fields="[]"></script>
    </form></div>
        <br class="clear" />
    </div>
{% endblock %}